body {
    max-width: 540px;
    min-width: 320px;
    margin: 0 auto;
    font: 400 16px/1.5 PingFangSC-regular,Tahoma,"Lucida Grande",Verdana,"Microsoft Yahei",STXihei,hei;
    color: #000;
    background-color: #f2f2f2;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
a {
    text-decoration: none;
    color: #222;
}
.search-index {
    display: flex;
    position: fixed;
    top: 0;
    left: 50%;
    /* 固定定位的盒子一定要给宽度 */
    width: 100%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    min-width: 320px;
    max-width: 540px;
    height: 44px;
    background-color: transparent;
}
.search {
    position: relative;
    height: 26px;
    line-height: 24px;
    background-color: #fff;
    border-radius: 15px;
    flex: 1;
    margin: 9px 10px;
    padding-left: 35px;
    font-size: 14px;
}
.search::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 15px;
    height: 15px;
    width: 15px;
    background: url(../images/sprite.png)no-repeat 0px 0px;
    background-size: 22px auto;
}
.user {
    width: 44px;
    height: 44px;
    color: white;
    font-size: 12px;
    text-align: center;
}
.user a {
    color: white;
}
.user::before {
    content: '';
    display: block;
    height: 24px;
    width: 24px;
    background: url(../images/sprite.png)no-repeat 1px -36px;
    background-size: 22px auto;
    margin: 4px auto 0;
}
/* 焦点图 */
.focus img {
    width: 100%;
}
/* 局部导航栏 */
.local-nav {
    display: flex;
    height: 64px;
    background-color: #fff;
    border-radius: 8px;
    margin: 3px 4px;
}
.local-nav li {
    flex: 1;
}
.local-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
}
.local-nav li [class^="local-nav-icon"] {
    height: 32px;
    width: 32px;
    background-color: pink;
    background: url(../images/sprite1.png)no-repeat 0 0;
    background-size: 32px auto;
    margin-top: 8px;
}
.local-nav li .local-nav-icon-icon2 {
    background: url(../images/sprite1.png)no-repeat 0 -32px;
    background-size: 32px auto;
}
.local-nav li .local-nav-icon-icon3 {
    background: url(../images/sprite1.png)no-repeat 0 -64px;
    background-size: 32px auto;
}
.local-nav li .local-nav-icon-icon4 {
    background: url(../images/sprite1.png)no-repeat 0 -96px;
    background-size: 32px auto;
}
.local-nav li .local-nav-icon-icon5 {
    background: url(../images/sprite1.png)no-repeat 0 -128px;
    background-size: 32px auto;
}
/* 主导航栏 */
nav {
    overflow: hidden;
    border-radius: 8px;
    margin: 0 4px 3px;
}
.nav-common {
    display: flex;
    height: 88px;
    background-color: pink;
}
.nav-common:nth-child(-n+2) {
    margin: 3px 0;
}
.nav-items {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.nav-items a {
    flex: 1;
    text-align: center;
    line-height: 44px;
    font-size: 14px;
    color: #fff;
    text-shadow: 1px 1px  rgba(0, 0, 0, .2);
}
.nav-items a:nth-child(2) {
    border-top: 1px solid #fff;
}
.nav-items:nth-child(2) {
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
}
.nav-common:nth-child(1) {
    background: -webkit-linear-gradient(left,#fa5a55,#fa994d);
}
.nav-common:nth-child(2) {
    background:  -webkit-linear-gradient(left,#4b90ed,#53bced);
}
.nav-common:nth-child(3) {
    background:  -webkit-linear-gradient(left,#34c2a9,#6cd559);
}
/* 侧边导航栏 */
.subnav-entry {
    display: flex;
    flex-wrap: wrap;
    border-radius: 8px;
    margin: 0 4px 3px;
    background-color: pink;
}
.subnav-entry li {
    /* flex中不仅可以写数字，还可以写百分比 */
    flex: 20%;
}
.subnav-entry a {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    color: #222;
}
.subnav-entry li [class^="subnav-entry-icon"] {
    height: 28px;
    width: 28px;
    background-color: purple;
    background: url(../images/sprite2.png)no-repeat 0 0;
    background-size: 28px auto;
    margin-top: 4px;
}
.subnav-entry li .subnav-entry-icon-icon2 {
    background: url(../images/sprite2.png)no-repeat 0 -28px;
    background-size: 28px auto;
}
.subnav-entry li .subnav-entry-icon-icon3 {
    background: url(../images/sprite2.png)no-repeat 0 -56px;
    background-size: 28px auto;
}
.subnav-entry li .subnav-entry-icon-icon4 {
    background: url(../images/sprite2.png)no-repeat 0 -84px;
    background-size: 28px auto;
}
.subnav-entry li .subnav-entry-icon-icon5 {
    background: url(../images/sprite2.png)no-repeat 0 -112px;
    background-size: 28px auto;
}
.subnav-entry li .subnav-entry-icon-icon6 {
    background: url(../images/sprite2.png)no-repeat 0 -140px;
    background-size: 28px auto;
}
.subnav-entry li .subnav-entry-icon-icon7 {
    background: url(../images/sprite2.png)no-repeat 0 -168px;
    background-size: 28px auto;
}
.subnav-entry li .subnav-entry-icon-icon8 {
    background: url(../images/sprite2.png)no-repeat 0 -196px;
    background-size: 28px auto;
}
.subnav-entry li .subnav-entry-icon-icon9 {
    background: url(../images/sprite2.png)no-repeat 0 -224px;
    background-size: 28px auto;
}
.subnav-entry li .subnav-entry-icon-icon10 {
    background: url(../images/sprite2.png)no-repeat 0 -252px;
    background-size: 28px auto;
}
/* 底部 */
.footer {
    display: flex;
}
.footer ul {
    flex: 1;
    display: flex;
}
.footer ul:nth-child(2) {
    flex: 2;
}
.footer ul li {
    flex: 1;
    font-size: 12px;
    color:gray;
}
.footer ul li:nth-child(2) {
    flex: 1;
    text-align: center;
}
/* .language::before {
    content: '';
    display: inline-block;
    height: 11px;
    width: 11px;
    background-color: pink;
    background: url(../images/un_icon_sites.png)no-repeat 0 -160px;
    background-size: 30px auto;
} */
.language::after {
    content: '';
    display: inline-block;
    height: 5px;
    width: 5px;
    border-top: 1px solid rgb(107, 107, 107);
    border-right: 1px solid rgb(107, 107, 107);
    transform: rotate(45deg);
    transition: all .4s;
}
.language:hover::after {
    transform: rotate(135deg);
}
.foot {
    font-size: 10px;
    color: gray;
    text-align: center;
}